package com.songtai.util;

/**
 * 公用文字获取
 * 
 * @author lx
 * 
 */
public class PublicObjType {

	private static String nodeName;

	/**
	 * 获取节点名称
	 * @param id
	 */
	public static String getNodeName(String id) {
		int nid = Integer.parseInt(id);
		switch(nid) {
		case 1:
			nodeName = "网站首页";
			break;
		case 3:
			nodeName = "公司简介";
			break;
		case 4:
			nodeName = "";
			break;
		case 5:
			nodeName = "公司文化";
			break;
		case 6:
			nodeName = "团队精英";
			break;
		case 7:
			nodeName = "装修咨询";
			break;
		case 8:
			nodeName = "公司环境";
			break;
		case 9:
			nodeName = "装修资讯";
			break;
		case 10:
			nodeName = "时尚家居";
			break;
		case 11:
			nodeName = "行业动态";
			break;
		case 13:
			nodeName = "装修知识";
			break;
		case 18:
			nodeName = "装修流程";
			break;
		case 19:
			nodeName = "服务范围";
			break;
		}
		return nodeName;
	}
}
